<template>
    <section style="background:#fff;">
        <div class="nav_options">
            <div class="nav_option" :class="{nav_option_active:isActive == 1}" @click="isActive=1">
                <span>设备管理</span>
            </div>
            <div class="nav_option" :class="{nav_option_active:isActive == 2}" @click="isActive=2">
                <span>类别配置</span>
            </div>
            <!-- <div class="nav_option"  :class="{nav_option_active:isActive == 3}" @click="isActive=3">
          <span>采购来源配置</span>
        </div>
        <div class="nav_option"  :class="{nav_option_active:isActive == 4}" @click="isActive=4">
          <span>审核配置</span>
      </div>-->
            <!-- <div class="nav_option" v-if="$root.btnControl.find(item=>item=='bill_receipt')" :class="{nav_option_active:isActive == 4}" @click="isActive=5">
            <span>审核配置</span>
      </div>-->

        </div>
        <!-- 智能设备管理 -->
        <sbgl v-if="isActive==1"></sbgl>
        <!-- 设备类别 -->
        <sblb v-if="isActive==2"></sblb>
    </section>
</template>
  
  <script>
import sbgl from './zhineng_sbgl'; //智能设备管理
import sblb from './zhineng_lbpz'; //设备类别

export default {
    data() {
        return {
            isActive: 1,
        };
    },
    methods: {},
    mounted() {},
    components: {
        sblb,
        sbgl,
    },
};
</script>
  
  <style scoped>
.pay_contant {
    padding: 0 40px;
}
</style>